from fastcrud import crud_router

from dependencies.deps import get_db
from models.technology import Technology
from schemas.request.technology import TechnologyCreate, TechnologyUpdate, TechnologySchema

router = crud_router(
    session=get_db,
    model=Technology,
    create_schema=TechnologyCreate,
    update_schema=TechnologyUpdate,
    path="/technologys",
    tags=["技术管理"]
)
